package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Family;
import cn.wolfcode.crm.query.QueryForObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IFamilyService {
    void deleteByPrimaryKey(Long id);

    void insert(Family record);

    Family selectByPrimaryKey(Long id);

    List<Family> selectAll();

    void updateByPrimaryKey(Family record);
    List<Family>  queryByEmpId(Long empId);

    PageResult query(QueryForObject qo);

    void delete(Long empId);
}
